home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 2
/
Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso
/
Aminet
/
dev
/
e
/
amigae21b.lha
/
Amiga_E_v2.1b
/
Sources
/
Other
/
Avail.e
next >
Wrap
Text File
|
1992-09-02
|
522b
|
21 lines
/* Avail replacement */
/* By EA van Breemen */
PROC main()
DEF chip,fast,largest_chip,largest_fast,largest_total
chip:=AvailMem($2)
fast:=AvailMem($4)
largest_chip:=AvailMem($20002)
largest_fast:=AvailMem($20004)
largest_total:=IF largest_fast>largest_chip THEN largest_fast ELSE largest_chip
WriteF('Type Available Largest\n')
WriteF('chip \d[9] \d[9]\n',chip,largest_chip)
IF fast
WriteF('fast \d[9] \d[9]\n',fast,largest_fast)
WriteF('total \d[9] \d[9]\n',chip+fast,largest_total)
ENDIF
ENDPROC